<form id="app-form" class="layui-form layuimini-form">

    <div class="layui-form-item">
        <label class="layui-form-label">页面标题</label>
        <div class="layui-input-block">
            <input type="text" name="title" class="layui-input" lay-verify="required" placeholder="请输入页面标题" value="{$row.title|default=''}">
            <tip>填写微信小程序app_id。</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">满减费用</label>
        <div class="layui-input-block">
            <input type="number" name="money" class="layui-input" lay-verify="required" placeholder="请输入订单满 n 元免快递费" value="{$row.money|default=''}">
            <tip>订单满 n 元 免快递费用</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">快递金额</label>
        <div class="layui-input-block">
            <input type="number" name="price" class="layui-input" lay-verify="required" placeholder="请输入快递金额" value="{$row.price|default=''}">
            <tip>一个快递的金额</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">快递赠送次数</label>
        <div class="layui-input-block">
            <input type="number" name="number" class="layui-input" lay-verify="required" placeholder="请输入赠送次数" value="{$row.number|default=''}">
            <tip>注册赠送多少次会员</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">页面描述</label>
        <div class="layui-input-block">
            <textarea id="container" name="description">{$row.description|default=''}</textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">免责声明</label>
        <div class="layui-input-block">
            <textarea id="exemption" name="exemption">{$row.exemption|default=''}</textarea>
        </div>
    </div>

    <div class="hr-line"></div>
    <div class="layui-form-item text-center">
        <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="weixin.expressConfig/save" data-refresh="false">确认</button>
        <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
    </div>

</form>
<script type="text/javascript">
    $(document).ready(function (){
        var ue = UE.getEditor('container');
        var ue1 = UE.getEditor('exemption');
    })
</script>
